NuclearEngagement\Services\PostsQueryService S

Total Complexity 18
Dependencies 7
Dependents 3
Total lines 182
Lines of code 85
Logical lines of code 52
Comment lines 55
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
get_query_params()
S
61 5 13
get_posts_count()
S
55 3 20
countPostsOptimized()
S
58 2 16
get_posts_count_only()
S
60 2 13
__construct()
S
73 1 5
register_hooks()
S
75 1 4
clear_cache()
S
76 1 4
build_query_args()
S
80 1 3
build_sql_clauses()
S
80 1 3
build_optimized_sql()
S
75 1 4